home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / oper_sys / emerald / emrldsys.lha / Language / Compiler / option.h < prev    next >
C/C++ Source or Header  |  1990-08-16  |  664b  |  37 lines

  1. /*
  2.  * @(#)option.h    1.5  6/29/88
  3.  */
  4. #ifndef option_h
  5. #define option_h
  6.  
  7. extern int     optioninvokequeue,
  8.         optionallocateregisters,
  9.         optioncomment,
  10.         optionnilspace,
  11.         optionlocals,
  12.         optionknowct,
  13.         optionview,
  14.         optioninline,
  15.         optiondebugstack,
  16.         optioncreateonstack;
  17.  
  18. #ifndef lint
  19. #if defined(__ANSI__) || defined(__GNUC__)
  20. #   define OPTION(t, value) \
  21.     (option##t == value)
  22. #   define IFOPTION(t, value) \
  23.     if (option##t == value)
  24. #else
  25. #   define OPTION(t, value) \
  26.     (option/**/t == value)
  27. #   define IFOPTION(t, value) \
  28.     if (option/**/t == value)
  29. #endif
  30. #else
  31. #   define IFOPTION(t, value) \
  32.     if (value)
  33. #   define OPTION(t, value) \
  34.     (value)
  35. #endif
  36. #endif
  37.